﻿using Abp.Domain.Entities.Auditing;
using JetBrains.Annotations;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace Camc.Quality.Dto.TableReturnDto.Technique
{
    public class EditFileStepInfo : FullAuditedEntity<Guid>
    {
        public Guid EditFileProcessInfoId { get; set; }
       
        //格式为$"{EditFileProcess.Id}-{对应记录的Id}"
        //用来标识一个版本中的唯一Id
        public string UniqueId { get; set; }
        //工步编号，工步名为：'工步'+WorkStepNumber
       
        public string WorkStepNumber { get; set; }
        public string WorkStepName { get; set; }
        public string WorkStepContent { get; set; }
        //由WorkStepName+WorkStepContent组成，工步描述
        public string TWorkStepContent { get; set; }
        //更改后工步描述
        public string WorkStepUpdateContent { get; set; }
        public int WorkStepWorking { get; set; }
        //是否是新增工步
        public bool NewStep { get; set; }
        //是否是已删除工步
        public bool DeletedStep { get; set; }
        //是否更新了工步描述
        public bool UpdateStepContent { get; set; }

        public virtual ICollection<EditFileTableInfo> EditFileTableInfos { get; set; }
        public string _editVersion { get; set; }
        [CanBeNull]
        public Guid? StepId { get; set; }
    }
}
